Using QEMU as KVM

dans Bloc-notes

So You Start dedicated servers did not provide free KVM to run a random OS iso. Let's try with QEMU running an iso uploaded locally.

In rescue mode, download a live iso locally, install and run QEMU:

apt update && apt upgrade
apt install qemu-system-x86 vim
wget --no-check-certificate -O /tmp/installer.iso
qemu-system-x86_64 -net nic -net user,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443 -m 4096M -localtime -enable-kvm -hda /dev/sda  -vnc /tmp/installer.iso -boot d

Refs & sources  :